package com.kaifamiao.controller;

import com.kaifamiao.annotation.Controller;
import com.kaifamiao.annotation.RequestMapping;

/**
 * @author lucien-ma
 * @date 2021/10/10
 * @apiNote
 */
@Controller
public class HelloController {

    @RequestMapping("/hello")
    public String hello() {
        return "Hello World";
    }

    @RequestMapping("/eat")
    public String eat() {
        return "eat food!";
    }
}
